<template>
  <div class="pt-3">
    <ChildList ref="child" />

    <hr />
  </div>
</template>

<script lang="ts">
export default {
  name: 'Todo',
};
</script>

<script setup lang="ts">
import ChildList from './ChildList.vue';

import useKeepScroll from '@/hooks/useKeepScroll';
useKeepScroll();
const a = 1;
const b = 2;
const grade = computed({
  get: function () {
    return a + b;
  },
  set: function (val) {
    console.log(val);
  },
});

console.log(grade);
</script>

<style scoped></style>
